package com.cardmanager.pro.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 信用卡管理表
 */
@Entity
@Table(name = "t_credit_card_manager_config")
public class CreditCardManagerConfig implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -4477373731913105481L;
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(name = "brand_id")
    private String brandId;

    @Column(name = "channel_type")
    private String channelType = "0";

    @Column(name = "channel_id")
    private String channelId;

    @Column(name = "channel_tag")
    private String channelTag;

    @Column(name = "single_limit_money")
    private int singleLimitMoney = 2;

    @Column(name = "single_limit_count")
    private int singleLimitCount = 2;

    @Column(name = "first_money")
    private int firstMoney = 10;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getChannelType() {
        return channelType;
    }

    public void setChannelType(String channelType) {
        this.channelType = channelType;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelTag() {
        return channelTag;
    }

    public void setChannelTag(String channelTag) {
        this.channelTag = channelTag;
    }

    public int getSingleLimitMoney() {
        return singleLimitMoney;
    }

    public void setSingleLimitMoney(int singleLimitMoney) {
        this.singleLimitMoney = singleLimitMoney;
    }

    public int getSingleLimitCount() {
        return singleLimitCount;
    }

    public void setSingleLimitCount(int singleLimitCount) {
        this.singleLimitCount = singleLimitCount;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public int getFirstMoney() {
        return firstMoney;
    }

    public void setFirstMoney(int firstMoney) {
        this.firstMoney = firstMoney;
    }

    @Override
    public String toString() {
        return "CreditCardManagerConfig [id=" + id + ", brandId=" + brandId + ", channelType=" + channelType
                + ", channelId=" + channelId + ", channelTag=" + channelTag + ", singleLimitMoney=" + singleLimitMoney
                + ", singleLimitCount=" + singleLimitCount + ", firstMoney=" + firstMoney + "]";
    }

}
